<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        table, th, td {
            font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
            border: 1px solid #98bf21;
        }
        table {
            border-collapse: collapse;
            width: 100%;
        }

        #table th, td {
            font-size: 1em;
            padding: 3px 7px 2px 7px;
        }

        #table th {
            background-color: #A7C942;
            color: white;

            text-align: left;
            font-size: 1.1em;
            padding-top: 5px;
            padding-bottom: 4px;
        }

        tr.alt td {
            background-color: #EAF2D3;
        }
    </style>
</head>
<body>
    <table id="table">
        <tr>
            <th>姓名</th>
            <th>职业</th>
            <th>年龄</th>
        </tr>
        <tr class="alt">
            <td>范帅</td>
            <td>修仙者</td>
            <td>1800</td>
        </tr>
        <tr>
            <td>林芳伊</td>
            <td>琵琶主播</td>
            <td>18</td>
        </tr>
        <tr class="alt">
            <td>韩立</td>
            <td>修仙者</td>
            <td>100000</td>
        </tr>
    </table>
</body>
</html>